<T:ViewBase x:Class="WPFExcelReport.TYSPPART"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
    </T:ViewBase.Resources>
    <WrapPanel>
        <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=纱批:}}"></TextBlock>
        <ComboBox 
            IsEditable="True"
            Width="Auto"
            MinWidth="120"
            SelectedValuePath="KDPARTIE"
            DisplayMemberPath="KDPARTIE"
             ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
            IsSynchronizedWithCurrentItem="True">
        </ComboBox>
        <TextBox Text="{Binding KDPARTIE,Source={StaticResource vwMaster}}" Width="100"></TextBox>
    </WrapPanel> 
</T:ViewBase>
